package io;

import java.io.File;
import java.io.IOException;

public class WorkingOne {
    public static void main(String[] args) throws IOException {
        File file = new File("d:/mytemp");
        if(!file.exists()){
            file.mkdir();
        }
        File file1 = new File("d:/mytemp/hello.txt");
        if(file1.exists()){
            file1.delete();
        }
        file1.createNewFile();
    }
}
